Name | Raw NBT Encoding |
Description | Several things in Minecraft use NBT to store data, such as items and entities.
For the sake of inter-compatibility, a special standard format is used in Denizen to preserve data types. This system exists in Denizen primarily for the sake of compatibility with external plugins/systems. It should not be used in any scripts that don't rely on data from external plugins. NBT Tags are encoded as follows: CompoundTag: (a fully formed MapTag) ListTag: list:(NBT type-code):(a fully formed ListTag) ByteArrayTag: byte_array:(a pipe-separated list of numbers) IntArrayTag: int_array:(a pipe-separated list of numbers) ByteTag: byte:(#) ShortTag: short:(#) IntTag: int:(#) LongTag: long:(#) FloatTag: float:(#) DoubleTag: double:(#) StringTag: string:(text here) EndTag: end |
Group | Useful Lists |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemRawNBT.java#L111 |